﻿<%@ Page language="C#" MasterPageFile="~site/_catalogs/masterpage/ticketing.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>

<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
    <asp:ScriptManagerProxy runat="server">
        <Scripts>
            <asp:ScriptReference Path="../Scripts/Pages/AddNewTicket/AddNewTicket.js" />
        </Scripts>
    </asp:ScriptManagerProxy>


    <table>
        <tr>
            <td>Ticket Title </td>
            <td>
                <SharePoint:InputFormTextBox runat="server" TextMode="SingleLine" Width="300px" RichText="false" ID="TicketTitle" MaxLength="200" />
                <SharePoint:InputFormRequiredFieldValidator runat="server" BreakBefore="true" BreakAfter="false" ControlToValidate="TicketTitle" Display="Dynamic" ErrorMessage="Required field" />
            </td>
        </tr>
        <tr>
            <td>Ticket Prority</td>
            <td>
                <SharePoint:DVDropDownList runat="server" AppendDataBoundItems="true" ID="TicketPriority">
                    <asp:ListItem Text="..." Value="" />
                    <asp:ListItem Text="Low" Value="Low" />
                    <asp:ListItem Text="Medium" Value="Medium" />
                    <asp:ListItem Text="High" Value="High" />
                </SharePoint:DVDropDownList>
                <SharePoint:InputFormRequiredFieldValidator runat="server" BreakBefore="true" BreakAfter="false" ControlToValidate="TicketPriority" Display="Dynamic" ErrorMessage="Required field" />
            </td>
        </tr>
        <tr>
            <td>Ticket Description</td>
            <td>
                <SharePoint:InputFormTextBox runat="server" TextMode="MultiLine" Height="40px" Width="300px" RichText="false" ID="TicketDescription" />
                <SharePoint:InputFormRequiredFieldValidator runat="server" BreakBefore="true" BreakAfter="false" ControlToValidate="TicketDescription" Display="Dynamic" ErrorMessage="Required field" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="button" value="Add ticket" id="AddTicket" />
            </td>

        </tr>
    </table>



</asp:Content>
